﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSharpAlgorithm
{
    class MaxFlow
    {
        public MaxFlow()
        {
            int testCase = Int32.Parse(TestConsole.ReadLine());
            while (testCase-- > 0)
            {
                string[] input = TestConsole.ReadLine().Split(' ');
                int vCount = Int32.Parse(input[0]);
                int eCount = Int32.Parse(input[1]);
                List<Edge>[] vList = new List<Edge>[vCount];
                for (int i = 0; i < eCount; i++)
                {

                }
            }

        }
        class Edge
        {
            public int To { get; set; }
            public int Cap { get; set; }
            public int Flow { get; set; }
            public Edge(int to, int cap, int flow)
            {
                To = to;
                Cap = cap;
                Flow = flow;
            }
        }
    }
}
